package com.cloudkinto.vo.order.returns;

import com.cloudkinto.dto.order.returns.pack.PackTrackDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
public class PutawayInitRes {

    private Long id;

    private String companyName;

    private String companyCode;

    private String returnNo;

    private Integer returnType;

    private Integer status;

    private Date createTime;

    private Long warehouseId;

    private List<PackTrackDto> trackList;

    @ApiModelProperty("上架产品")
    private List<PutawayProductInitRes> products;

    public PutawayInitRes(Long id, String companyName, String companyCode, String returnNo, Integer returnType, Integer status, Date createTime) {
        this.id = id;
        this.companyName = companyName;
        this.companyCode = companyCode;
        this.returnNo = returnNo;
        this.returnType = returnType;
        this.status = status;
        this.createTime = createTime;
    }
}
